package com.lgh.hotel.service;

import com.lgh.hotel.dao.pojo.SysUser;
import com.lgh.hotel.vo.Result;
import com.lgh.hotel.vo.SysUserVo;
import com.lgh.hotel.vo.params.PageParams;
import com.lgh.hotel.vo.params.SysUserParams;

public interface SysUserService {
    Result registered(SysUserParams sysUserParams,String token);

    SysUser findUserByUsername(String username);

    SysUser findUserByToken(String token);


    SysUserVo findUserByInfoVo(String token);

    Result logoutUser(String token);

    Result findUserAll();

    Result findUserBy(String type, String params);

    Result findUserPageList(PageParams params);

    Result updateUser(SysUser sysUserParams, String token);

    Result deleteUser(Long id);

    Result findEmployees();

    Result findEmployeesPages(PageParams params);
}
